package py.com.alfa.escriba.gui.rest.services;

import java.io.IOException;
import java.util.List;

import py.com.alfa.escriba.gui.dto.gestion.VehiculosDTO;
import py.com.alfa.escriba.gui.dto.gestion.VehiculosinfoDTO;

public interface VehiculosService {
	final String SECURE_PATH = "/secure";
	final String BASE_URL = "/vehiculos";

	final String LIST_VEHI = SECURE_PATH.concat(BASE_URL);
	final String CREA_VEHI = SECURE_PATH.concat(BASE_URL);
	final String BUS_VEHI = SECURE_PATH.concat(BASE_URL).concat("/buscar");
	final String GET_VEHI = SECURE_PATH.concat(BASE_URL.concat("/{id}"));
	final String UPD_VEHI = SECURE_PATH.concat(BASE_URL.concat("/{id}"));
	final String DEL_VEHI = SECURE_PATH.concat(BASE_URL.concat("/{id}"));
	final String LIST_VEHI_INFO = SECURE_PATH.concat(BASE_URL).concat("/listDatosVehiculosInfo");
	
	
	public List<VehiculosDTO> listVehiculos() throws IOException;
	public List<VehiculosDTO> buscarVehiculos(VehiculosDTO vehiculo) throws IOException;
	public VehiculosDTO       createVehiculo(VehiculosDTO vehiculo) throws IOException;
	public VehiculosDTO       saveVehiculo(VehiculosDTO vehiculo) throws IOException;
	public void               deleteVehiculo(Long id) throws IOException;
	public VehiculosDTO       showVehiculo(Long id) throws IOException;
	public List<VehiculosinfoDTO> listDatosVehiculosInfo() throws IOException;
}
